<?php
if (preg_match ( "/".basename ( __FILE__ )."/", $_SERVER ['PHP_SELF'] )) {
	die ("<h1>Incorrect access</h1>You cannot access this file directly.");
}
class panel extends Form{
	function panel(){
		global $display;
		$menu[] = array('link' => "http://muachung.vn", 'title' => 'Trang chủ', 'icon' => 'home');
		$menu[] = 	array('link' => Url::build('sign_out'), 'title' => 'Thoát ('.User::$current->data['username'].')', 'icon' => 'logout');
		$display->add('menu',$menu);
		echo $display->output('panel',true,'panel');
	}
}
?>